// @ts-nocheck
import { createApp } from 'vue'
import App from './App.vue'
import Router from './router'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import * as AntIcons from '@ant-design/icons-vue'
import './styles/index.css'
import FileUploadComponent from './components_bus/Upload/FileUploadComponent';

import Page from '@/components/Page/Page.vue'




let app = createApp(App)

app.component("app-page", Page);

// app-list-row
// app-list-data


// 注册组件
Object.keys(AntIcons).forEach(key => {
    let icon: any = AntIcons[key];
    app.component(key, icon)
})

app.config.globalProperties.$Icon = AntIcons

app.use(Router)
    .use(Antd)
    .use(FileUploadComponent)
    .mount('#app');